package cn.bugstack.domain.strategy.service.armory;

/**
 * TODO
 *
 * @Description 用于抽奖的接口
 * @Author 1
 * @Date 2024/7/29 22:06
 **/
public interface IStrategyDispatch {
    //根据策略ID装配策略进行抽奖
    Integer getRandomAwardId(Long strategyId);

    //根据策略ID和策略权重装配
    Integer getRandomAwardId(Long strategyId, String ruleWeightValue);

    //扣减库存
    Boolean subtractionAwardStock(Long strategyId, Integer awardId);

    void sendDeductStockMsg(Long strategyId, Integer awardId);
}
